package org.brisling.satisfaction.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 门诊，住院满意度调查问卷的问题
 * @author SherlockMoon
 *
 */
@Entity
@Table(name=ConstSysParam.MODULE_SATISFACTION_EVALUATE_SUBJECT)
public class SatisfactionEvaluateSubject extends BaseDomain implements BaseDomainInf{
	
	
	@Column(length=300)
	private String hospital_code;
	
	@Column(length=300)
	private String hospital_name;
	
	@Column
	private Long sort;
	
	@Column(length=3)
	private String enabled;
	
	@Column(length=150)
	private String problem_code; //subject_id->problem_code
	
	@Column(length=600)
	private String problem_subject; //name->problem_subject
	
	@Column(length=6)
	private String evaluate_type; //type->evaluate_type
	
	@Column
	private Date batch;
	
	@Column(length=30)
	private String showtype;
	
	@Column(length=6)
	private String subject_type;
	
	@Column(length=6)
	private String satisfied_rate_type;
	
	private Long is_del;
	
	@Column(length=600)
	private String reportname;
	 
	@Column(length=12)
	private String yesvalue;
	
	@Column(length=12)
	private String novalue;
	
	@Column(length=12)
	private String evaltype;

	public String getHospital_code() {
		return hospital_code;
	}

	public void setHospital_code(String hospital_code) {
		this.hospital_code = hospital_code;
	}

	public String getHospital_name() {
		return hospital_name;
	}

	public void setHospital_name(String hospital_name) {
		this.hospital_name = hospital_name;
	}

	public Long getSort() {
		return sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public String getEnabled() {
		return enabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public String getProblem_code() {
		return problem_code;
	}

	public void setProblem_code(String problem_code) {
		this.problem_code = problem_code;
	}

	public String getProblem_subject() {
		return problem_subject;
	}

	public void setProblem_subject(String problem_subject) {
		this.problem_subject = problem_subject;
	}

	public String getEvaluate_type() {
		return evaluate_type;
	}

	public void setEvaluate_type(String evaluate_type) {
		this.evaluate_type = evaluate_type;
	}

	public Date getBatch() {
		return batch;
	}

	public void setBatch(Date batch) {
		this.batch = batch;
	}

	public String getShowtype() {
		return showtype;
	}

	public void setShowtype(String showtype) {
		this.showtype = showtype;
	}

	public String getSubject_type() {
		return subject_type;
	}

	public void setSubject_type(String subject_type) {
		this.subject_type = subject_type;
	}

	public String getSatisfied_rate_type() {
		return satisfied_rate_type;
	}

	public void setSatisfied_rate_type(String satisfied_rate_type) {
		this.satisfied_rate_type = satisfied_rate_type;
	}

	public Long getIs_del() {
		return is_del;
	}

	public void setIs_del(Long is_del) {
		this.is_del = is_del;
	}

	public String getReportname() {
		return reportname;
	}

	public void setReportname(String reportname) {
		this.reportname = reportname;
	}

	public String getYesvalue() {
		return yesvalue;
	}

	public void setYesvalue(String yesvalue) {
		this.yesvalue = yesvalue;
	}

	public String getNovalue() {
		return novalue;
	}

	public void setNovalue(String novalue) {
		this.novalue = novalue;
	}

	public String getEvaltype() {
		return evaltype;
	}

	public void setEvaltype(String evaltype) {
		this.evaltype = evaltype;
	}

}
